<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf连接测试</title>
</head>
<body>
    <h2>这是主页面03 - 登录成功</h2>
    <hr />
    <div th:if="${userinfo != null}">
        <h4>登陆成功</h4>
        用户昵称：<p th:text="${userinfo.getNickname()}" ></p>
        <!--用户头像：<img WIDTH="100" HEIGHT="100" th:src="@{${userinfo.getAccount()}}">-->
        用户账号：<p th:text="${userinfo.getAccount()}"></p>
    </div>
</body>
</html>